package design.mode.model.factory.coffee;

/**
 * @description 咖啡产品等级抽象类
 * @since jdk11
 */
public abstract class Coffee {
    public abstract String getName();

    public void addSugar() {
        System.out.println("Coffee -> 加糖");
    }

    public void addMilk() {
        System.out.println("Coffee -> 加奶");
    }
}
